malloc: remove !gd handling
authorStephen Warren <[email protected]>
Sat, 5 Mar 2016 17:30:53 +0000 (10:30 -0700)
committerTom Rini <[email protected]>
Tue, 8 Mar 2016 20:01:47 +0000 (15:01 -0500)
commitdeff6fb3a7790e93264292982000275e78bb12e5
tree2eee08d1dcc04d88cba95fd7b323842c0468320f
parent2f0bcd4de1ab0cb03f01428a334cd91f8870504c
malloc: remove !gd handling

Following the previous patch, malloc() is never called before gd is set,
so we can remove the special-case check for this condition.

This reverts commit 854d2b9753e4 "dlmalloc: ensure gd is set for early
alloc".

Cc: Rabin Vincent <[email protected]>
Signed-off-by: Stephen Warren <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
common/dlmalloc.c